//
//  LHCSqlOperate.h
//  MyAddressBook
//
//  Created by lihongcheng on 16/4/22.
//  Copyright © 2016年 lihongcheng. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FMDatabase.h"
#import "LHCDataModel.h"

@interface LHCSqlOperate : NSObject

//插入数据
+(BOOL)insertDataIntoSql:(LHCDataModel *)model;

//读取数据
+(NSMutableArray *)readDataFromSql;

//修改数据
+(BOOL)updateDataFromSql:(LHCDataModel *)model andbefore:(LHCDataModel *)beModel;

//删除数据
+(BOOL)deleteDataFromSql:(LHCDataModel *)model;

@end
